:bug: Fix Bug: 'ModelInfo' object has no attribute 'shot_data'

huangqimin лет %!s(int64=5): %!d(string=назад)
Родитель
Сommit
a6df817410
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      member/models.py

+ 1 - 1
member/models.py

@@ -157,7 +157,7 @@ class ShotTypeInfo(BaseModelMixin):
157 157
     @property
158 158
     def shots(self):
159 159
         models = ModelInfo.objects.filter(shot_type_id=self.shot_type_id, status=True)
160
-        return [model.shot_data for model in models]
160
+        return [model.shot_member_data for model in models]
161 161
 
162 162
     @property
163 163
     def data(self):